import request from '@/plugins/axios'

export function getList(params: {}, type: string) {
	const data = request({
		url: `/sas/logs/${type}`,
		method: 'get',
		params,
	})
	return data
}

export function getLogDetail(params: any, type: string) {
	const data = request({
		url: `/sas/logs/${type}/${params.id}`,
		method: 'get',
	})
	return data
}
export function requestPieData(params: any, type: string) {
	const data = request({
		url: `sas/logs/${type}/statistic`,
		method: 'get',
		params,
	})
	return data
}
export function exportList(params: {}, type: any) {}
